import { Component } from "@tarojs/taro-h5";
import Nerv from "nervjs";
import { View, Text, Block } from '@tarojs/components';
import './ContentWrapper.scss';
class ContentWrapper extends Component {
  render() {
    const { title } = this.props;
    return <View className="content_wrapper">
                <Text className="header">{title}</Text>
                <Block>{this.props.children}</Block>
            </View>;
  }
}
export default ContentWrapper;